﻿<Window 
    x:Class="Wizard.Views.MainView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="{Binding DisplayName}" WindowStartupLocation="CenterScreen"
    Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        
        <ContentControl Content="{Binding Child.View}" HorizontalAlignment="Center" VerticalAlignment="Center" />
        
        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Command="{Binding Previous}"  Width="150" Height="25" Margin="5">Previous</Button>
            <Button Command="{Binding Next}" Width="150" Height="25" Margin="5">Next</Button>
        </StackPanel>
    </Grid>
</Window>
